Component org.nuxeo.ecm.platform.thumbnail.contrib
In bundle org.nuxeo.ecm.webapp.base
Resolution Order
624
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.thumbnail.contrib--urlpatterns
- org.nuxeo.ecm.platform.thumbnail.contrib--codecs
- org.nuxeo.ecm.platform.thumbnail.contrib--startURL
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.thumbnail.contrib">
<extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
point="urlpatterns">
<urlPattern name="downloadThumbnail" enabled="true">
<defaultURLPolicy>false</defaultURLPolicy>
<needBaseURL>true</needBaseURL>
<needRedirectFilter>false</needRedirectFilter>
<needFilterPreprocessing>true</needFilterPreprocessing>
<codecName>downloadThumbnail</codecName>
<actionBinding>#{thumbnailManager.downloadThumbnail}</actionBinding>
<documentViewBinding>
#{restHelper.documentView}
</documentViewBinding>
<newDocumentViewBinding>
#{restHelper.newDocumentView}
</newDocumentViewBinding>
</urlPattern>
</extension>
<extension
target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
point="codecs">
<documentViewCodec name="downloadThumbnail"
enabled="true" prefix="nxthumb"
class="org.nuxeo.ecm.platform.url.codec.DocumentFileCodec" />
</extension>
<extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="startURL">
<startURLPattern>
<patterns>
<pattern>nxthumb/</pattern>
</patterns>
</startURLPattern>
</extension>
</component>